<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>one line vertical center</title>
	<style type="text/css">
		.welcome {
			float:left;
			width:250px;
			height:50px;
			line-height:50px;
			background-color:#F1F1F1;
			font-size: 14px;
			padding:5px;
		}
		.avatar {
			float:left;
			padding:15px;
		}
		
	</style>
</head>
<body>
	<div class="outer">
		<div class="welcome">
			<div class="avatar">
				<img src="images/userPic.png" />
			</div>
			您好 李鹏羽
		</div>
	</div>
</body>
</html>